From 508353fd153c8da36734809270ef21f6ce829e1a Mon Sep 17 00:00:00 2001 From: Paolo Borelli Date: Sun, 26 Jun 2011 21:32:45 +0200 Subject: [PATCH] Do not manually create empty label gtk_notebook_update_labels will take care of creating it if needed. --- gtk/gtknotebook.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/gtk/gtknotebook.c b/gtk/gtknotebook.c index cd19175631..9c7ece563c 100644 --- a/gtk/gtknotebook.c +++ b/gtk/gtknotebook.c @@ -4528,8 +4528,6 @@ gtk_notebook_real_insert_page (GtkNotebook *notebook, if (!tab_label) { page->default_tab = TRUE; - if (priv->show_tabs) - tab_label = gtk_label_new (NULL); } page->tab_label = tab_label; page->menu_label = menu_label; -- 2.30.2